package edu.ncsu.csc.csc454.project.wheel.node;

import java.awt.Point;
import java.awt.image.BufferedImage;

import javax.swing.JLabel;

/**
 * @author Team AW
 * @version 0.1
 */
public class IconInfo {

    private String        m_Caption  = "";
    private String        m_AppPath  = "";
    private Point         m_Location = null;
    private Point         m_Size     = null;
    private BufferedImage m_Icon     = null;
    private JLabel        m_Label    = null;

    public IconInfo() {}

    public IconInfo(String cap, String path, BufferedImage icon, Point size) {
        m_Caption = cap;
        m_AppPath = path;
        m_Icon = icon;
        m_Size = size;
    }

    public IconInfo(String cap, String path, BufferedImage icon, Point size, Point loc) {
        m_Caption = cap;
        m_AppPath = path;
        m_Icon = icon;
        m_Size = size;
        m_Location = loc;
    }

    public String getCaption() {
        return m_Caption;
    }

    public String getPath() {
        return m_AppPath;
    }

    public Point getLocation() {
        return m_Location;
    }

    public Point getSize() {
        return m_Size;
    }

    public BufferedImage getIcon() {
        return m_Icon;
    }

    public JLabel getLabel() {
        return m_Label;
    }

    public void setCaption(String s) {
        m_Caption = s;
    }

    public void setPath(String s) {
        m_AppPath = s;
    }

    public void setLocation(Point loc) {
        m_Location = loc;
    }

    public void setSize(Point size) {
        m_Size = size;
    }

    public void setIcon(BufferedImage i) {
        m_Icon = i;
    }

    public void setLabel(JLabel l) {
        m_Label = l;
    }
}
